package uz.edo.app.admin.core;

import org.apache.wicket.Page;
import org.apache.wicket.Request;
import org.apache.wicket.Response;
import org.apache.wicket.Session;
import org.apache.wicket.protocol.http.WebApplication;
import org.apache.wicket.protocol.http.WebSession;
import uz.edo.app.admin.Login;
import uz.edo.app.client.core.MySession;

/**
 * Created by IntelliJ IDEA.
 * User: said
 * Date: 1/16/12
 * Time: 11:58 AM
 * To change this template use File | Settings | File Templates.
 */
public class AdminApplication extends WebApplication {
    private WebSession session;

    @Override
    public Class<? extends Page> getHomePage() {
        return Login.class;
    }

    @Override
    public Session newSession(Request request, Response response) {
        return new AdminSession(request);
    }
}
